-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document common cargo commands #2293
Conversation
1583b69
to
32f609e
Compare
Should there also be a suggestion for running loom? |
Sure, what is the command? |
That's the the thing, I can never remember it! (I'll try and dig it up...) |
As my timing wasn't great, this could always be added as a followup if it is at all questionable! Draft verbiage, change as desired:
cd tokio # tokio crate in workspace
LOOM_MAX_PREEMPTIONS=1 RUSTFLAGS="--cfg loom" \
cargo test --lib --release --features full -- --test-threads=1 --nocapture
|
Can we merge this? |
@Darksonn you got three approvals :) feel free to merge! |
Currently you have to look inside the ci directory to find the commands, which does not lend itself very well to discoverability for new users. I personally found it difficult to find some of these, and I'm not the only one.
You can view the rendered markdown here.